package com.fengchao.api.dao.usr;

import com.fengchao.api.dao.BaseMapper;
import com.fengchao.model.usr.UsrInfo;
import org.apache.ibatis.annotations.Param;

public interface UsrInfoMapper extends BaseMapper<UsrInfo>{

    /**
     * 根据手机号查询
     * @param mobile
     * @return
     */
    UsrInfo findByMobile(String mobile);
    /**
     * 根据手机号,密码,状态查询
     * @return
     */
    UsrInfo findByMobileAndPasswordAndStatus(@Param("mobile") String mobile,@Param("password")  String password,@Param("status")  String status);
}